package com.bsoft.gol.hcs.specialist.dao;

import com.bsoft.gol.hcs.specialist.entity.FusDiseaseProtocolEntity;
import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;

public abstract  class FusDiseaseProtocolDAO extends HibernateSupportDelegateDAO<FusDiseaseProtocolEntity> {


    @DAOMethod(sql = "from FusDiseaseProtocolEntity where diseaseTypeId =:diseaseTypeId")
    public abstract FusDiseaseProtocolEntity getFusDiseaseProtocolByDiseaseId(@DAOParam("diseaseTypeId") Long diseaseTypeId);

}
